package com.txunda.zhuohired.dialog;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;

import com.txunda.zhuohired.R;

/**
 * 创建人： Txd_Cjh
 * 创建时间： 2018/03/05 14:48
 * 功能描述：简历完整度dialog
 * 联系方式：jiahuanchen@126.com
 */

public class ResumeFullDialog extends Dialog implements View.OnClickListener {
    private ResumeFullListener resumeFullListener;
    private Context context;


    public ResumeFullDialog(Context context, ResumeFullListener resumeFullListener) {
        super(context, R.style.dialog_style);
        this.context = context;
        this.resumeFullListener = resumeFullListener;

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dialog_resume_full);
        findViewById(R.id.tv_dialog_resume_full_sure).setOnClickListener(this);
    }


    @Override
    public void onClick(View view) {
        this.dismiss();
        //        switch (view.getId()) {
        //            case R.id.tv_dialog_apply_sure://确认
        //                resumeFullListener.onApply("1");
        //                break;
        //        }
    }

    public interface ResumeFullListener {
        void onResumeFull(String type);
    }
}
